package com.laundry.lib;


import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class Reservation {

	private int bookingId;
	private String userId;
	private int machineId;
	private Date date;
	private Slot slot;
	

	private boolean hasUsed;
	private String remarks;
	public Reservation(int bookingId, String userId, int machineId, Date date,
			Slot slot,boolean hasUsed,String remarks) {
		super();
		this.bookingId = bookingId;
		this.userId = userId;
		this.machineId = machineId;
		this.date = date;
		this.slot = slot;
		this.hasUsed=hasUsed;
		this.remarks=remarks;
	}
	
	public Reservation(){
		
	}

	public int getBookingId() {
		return bookingId;
	}

	public void setBookingId(int bookingId) {
		this.bookingId = bookingId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public int getMachineId() {
		return machineId;
	}

	public void setMachineId(int machineId) {
		this.machineId = machineId;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	

	public boolean isHasUsed() {
		return hasUsed;
	}

	public void setHasUsed(boolean hasUsed) {
		this.hasUsed = hasUsed;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public Slot getSlot() {
		return slot;
	}

	public void setSlot(Slot slot) {
		this.slot = slot;
	}
	
}
